package com.carsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carsystem.entity.CarBrandAndCar;
import com.carsystem.entity.Carbrand;
import com.carsystem.utils.PageResult;
import com.carsystem.utils.QueryPageBean;
import com.carsystem.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ykl
 * @since 2021-12-04
 */
public interface ICarbrandService extends IService<Carbrand> {
    PageResult findPage(QueryPageBean queryPageBean);

    Result saveCarBrand(Carbrand carbrand, int[] carIds);

    Result deleteCarBrand(int id);

    Result updateCarBrand(Carbrand carbrand, int[] carIds);

    CarBrandAndCar getCarBrandAndCarById(int id);

    Result findAllCarbrand();
}
